<!--    客户管理-资质证书列表  by jh   -->
<template>
    <div>
        <!--样式设置-->
        <div class="ca-p-t-0">
            <el-row>
                <el-col :span="20">
                    <div class="ca-title"><h3 class="h3">资质证书：</h3>
                        <!--<csUploadButton-->
                            <!--:fileType="fileType"-->
                            <!--:businessId="guestId"-->
                            <!--:getFileUploadedReturnData="getFileUploadedReturnData">-->
                        <!--</csUploadButton>-->
                    </div>
                </el-col>
            </el-row>
            <div class="ca-m-t-20">
                <csList
                    :fileType="fileType"
                    :businessId="guestId"
                    :isShowSearch="isShowSearch"
                    :isShowFileChildType='isShowFileChildType'
                    :addAuth="isAuthEdit"
                >
                </csList>
            </div>
        </div>
    </div>
</template>

<script type="text/ecmascript-6">
//    import {api} from '__views/customer-management/api';
//    import {STATUS_HTTP_SUCCESS, apiHttp} from '__service/csHttp';
//    import { isNoAuth } from '__service/utils';
    export default {
        props: {},
        data() {
            return {
                isShowSearch: false,
                isAllToolbar: false,
                isShowFileChildType: false,
                guestId: this.$route.params.eClient_guestId,
                fileType: '10061',//文件上传的参数
                isAuthEdit: '客户管理-客户信息-编辑',
            }
        },
        watch: {

        },
        mounted() {
        },
        methods: {
            //文件上传成功之后返回的数组
//            getFileUploadedReturnData() {
//                //console.log(arr,"文件列表uuuuuuuu ")
//            },
        },
        components: {
            'csList': require('__components/file-list'),//资质证书 列表与编辑
            //'csUploadButton': require('__components/upload-btn'),//上传按钮
        },
    }
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
    //空间居中
    .padding-set{
        margin-top: 20px;
        padding:0 5%;
        padding-bottom:50px;
    }
    //行间距
    .row-padding{
        padding-bottom: 15px;
        div{
            font-size: 14px;
        }
    }
    //一行4列
    .row-col-4 div{
       &:nth-child(1){
           text-align: right;
       }
        &:nth-child(3){
            text-align: right;
        }
    }
    //一行2列
    .row-col-2 div:first-child{
        text-align: right;
    }
    .ca-p-t-0{
        padding:20px;
        padding-top: 0;
    }
</style>
